Euclid's theorem is a fundamental statement in number theory that asserts that there are infinitely many prime numbers. There are several well-known proofs of the theorem.
Contents |
Euclid offered the following proof published in his work Elements (Book IX, Proposition 20)[1] and paraphrased here.
Take any finite list of prime numbers p1, p2, ..., pn. It will be shown that at least one additional prime number not in this list exists. Let P be the product of all the prime numbers in the list: P = p1p2...pn. Let q = P + 1. Then, q is either prime or not:
This proves that for every finite list of prime numbers, there is a prime number not on the list. Therefore there must be infinitely many prime numbers.
It is often erroneously reported that Euclid proved this result by contradiction, beginning with the assumption that the set initially considered contains all prime numbers, or that it contains precisely the n smallest primes, rather than any arbitrary finite set of primes.[2] Although the proof as a whole is not by contradiction, in that it does not begin by assuming that only finitely many primes exist, there is a proof by contradiction within it: that is the proof that none of the initially considered primes can divide the number called q above.
Another proof, by the Swiss mathematician Leonhard Euler, relies on the fundamental theorem of arithmetic: that every integer has a unique prime factorization. If P is the set of all prime numbers, Euler wrote that:
The first equality is given by the formula for a geometric series in each term of the product. To show the second equality, distribute the product over the sum:
in the result, every product of primes appears exactly once, so by the fundamental theorem of arithmetic, the sum is equal to the sum over all integers.
The sum on the right is the harmonic series, which diverges. So the product on the left must diverge also. Since each term of the product is finite, the number of terms must be infinite, so there is an infinite number of primes.
In the 1950s, Hillel Fürstenberg introduced a proof using point-set topology. See Fürstenberg's proof of the infinitude of primes.
Juan Pablo Pinasco has written the following proof.[3]
Let p1, ..., pN be the smallest N primes. Then by the inclusionâexclusion principle, the number of positive integers less than or equal to x that are divisible by one of those primes is
Dividing by x and letting x â â, we get
This can be written as
If no other primes than p1, ..., pN exist, then the expression in (1) is equal to and hence the expression in (2) is equal to 1. But clearly the expression in (3) is less than 1. Hence there must be more primes than p1, ..., pN.
Junho Peter Whang has recently published the following proof by contradiction.[4] Let k be any positive integer. Then according to de Polignac's formula (actually due to Legendre)
where
Note that
But if only finitely many primes exist, then
so that is impossible.
The theorem can be also proved by using Euler's totient function Ï.[5] In this proof, the following property will be used:
Assume that there is only a finite number of primes. Call them p1, p2, ..., pr and consider the integer n = p1p2 ... pr. Any natural number a ⤠n has a prime divisor q. Then, q must be one of p1, p2, ..., pr, since that is the list of all prime numbers. Hence, for all a ⤠n, gcd(a, n) > 1 except if a = 1. This leads to Ï(n) = 1, which contradicts the property above.
The following formula was discovered by Euler.
Each denominator is the multiple of four nearest to the numerator.
If there were finitely many primes, Ï would be rational. This contradicts the fact that Ï is irrational. However, to prove that Ï is irrational is considerably more onerous than to prove that infinitely many primes exist.